package com.an_yang_gang_yie.an_yang_gang_yie.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.Version;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author 刘蓝天
 * @since 2021-06-17
 */
@ApiModel(value="AdminUser对象", description="")
public class AdminUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "管理员账户id")
    @TableId(value = "user_id", type = IdType.ASSIGN_UUID)
    private String userId;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime upTime;

    @ApiModelProperty(value = "0启用 1 弃用")
    @TableLogic
    private Integer isDelete;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "管理员账户用户真实姓名")
    private String username;

    @ApiModelProperty(value = "管理员账户用户昵称登录用")
    private String nickname;

    @ApiModelProperty(value = "管理员账户用户邮箱")
    private String email;

    @ApiModelProperty(value = "管理员账户密码")
    private String password;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "角色id")
    private String roleId;

    @ApiModelProperty(value = "当前用户所属部门id")
    private String deptId;

    @ApiModelProperty(value = "当前管理员所属公司主体")
    private String mainBodyId;


    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public LocalDateTime getUpTime() {
        return upTime;
    }

    public void setUpTime(LocalDateTime upTime) {
        this.upTime = upTime;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getMainBodyId() {
        return mainBodyId;
    }

    public void setMainBodyId(String mainBodyId) {
        this.mainBodyId = mainBodyId;
    }

    @Override
    public String toString() {
        return "AdminUser{" +
        "userId=" + userId +
        ", upTime=" + upTime +
        ", isDelete=" + isDelete +
        ", createTime=" + createTime +
        ", username=" + username +
        ", nickname=" + nickname +
        ", email=" + email +
        ", password=" + password +
        ", remark=" + remark +
        ", roleId=" + roleId +
        ", deptId=" + deptId +
        ", mainBodyId=" + mainBodyId +
        "}";
    }
}
